/**
 * 
 */
package com.feib.stms.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.feib.stms.model.TempUploadFileError;
import com.feib.stms.pagination.PaginatedList;

/**
 * @author Jimmy Liu
 *
 */
@Transactional(readOnly = true)
public interface TempUploadFileErrorService {

	/**
	 * 新增檢查錯誤紀錄
	 * @param tempUploadFileError
	 * @return
	 */
	@Transactional(readOnly = false)
	public int addTempUploadFileError(TempUploadFileError tempUploadFileError);

	/**
	 * 新增檢查錯誤紀錄
	 * @param tempUploadFileErrors
	 * @return
	 */
	@Transactional(readOnly = false)
	public int addTempUploadFileErrors(List<TempUploadFileError> tempUploadFileErrors);

	@Transactional(readOnly = false)
	public int deleteByTempUploadFilePk(Long tempUploadFilePk);

	public PaginatedList<TempUploadFileError> findPaginatedListByTempUploadFilePk(
			Long tempUploadFilePk,
			PaginatedList<TempUploadFileError> qryCondition);

}
